/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.Interface;

import com.Entity.Employee;
import com.Entity.EmployeeLanguages;
import com.Entity.EmployeeProjects;
import com.Entity.EmployeeTests;
import com.Entity.Project;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Vi
 */
@Remote
public interface DAOInterface {
    
     public List<Project> getAllProjects();
     public List<Employee> getAllEmployees();
     public Employee getEmployee(int idEmployee);
     public List<EmployeeProjects> getManagingProjects(int idEmployee);
     public EmployeeTests getEmployeeTest(int idEmployee);
     public List<EmployeeLanguages> getEmployeeLanguages(int idEmployee);
     public List<EmployeeProjects> getCurrentProjects(int idEmployee);
     public Employee addEmployee(Employee emp);
     public void removeEmployeeById(Integer id);
     public void addEmployeeTests(EmployeeTests emp);
     public void addEmployeeLanguages(List<EmployeeLanguages> employeeLanguages);
     public void updateEmployee(Employee emp);
     public void updateEmployeeTests(EmployeeTests emp);
     public void updateEmployeeLanguages(int idEmployee, List<EmployeeLanguages> employeeLanguages);
}
